package com.xiaoxiaoxt.xiaoxiaoxtdao.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.ArrayList;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "mo_question")
public class Question extends BaseModel {
    @Id
    private Integer id;

    private Integer createdAt;

    private Integer updatedAt;

    private String alias;

    private Integer kemuid;

    private String type;

    private String newtype;

    private Integer mid;

    private Integer parentid;

    private Integer topid;

    private Integer clickcount;

    private Integer testcount;

    private Integer passcount;

    private Integer itemcount;

    private Integer commentcount;

    private String tagid;

    private String typeid;

    private String audio;

    private Integer audit;

    private String question;

    private String tag;

    private String analysis;

    private String demotext;

    private ArrayList<QuestionOption> questionOptions;

    public ArrayList<QuestionOption> getQuestionOptions() {
        return questionOptions;
    }
}